package serviceImpl;

import dao.UserDAO;
import entity.User;
import serviceInterface.Login;

public class login implements Login {
    public User login(String account,String password){

     User user =UserDAO.selectOne(account, password);
      return user;
    }
}
